package c.j.a.d.b.n;

import android.os.RemoteException;
import android.text.TextUtils;
import c.j.a.d.b.d.q;
import c.j.a.d.b.d.x.a;
import org.json.JSONException;
import org.json.JSONObject;

/* compiled from: IPCUtils */
public final class x extends a {
    public final /* synthetic */ q b;

    public x(q qVar) {
        this.b = qVar;
    }

    public void a(String str) throws RemoteException {
        if (!TextUtils.isEmpty(str)) {
            try {
                this.b.a(new JSONObject(str));
            } catch (JSONException e) {
                e.printStackTrace();
            }
        }
    }

    public int[] b() throws RemoteException {
        q qVar = this.b;
        return qVar instanceof q ? qVar.b() : null;
    }

    public String a() throws RemoteException {
        return this.b.c();
    }
}
